
/* bar */
.bar a:hover{
    color: #ef1f1f!important;
}
.bar {
    height: 50px;
    width: 1200px;
    margin: 0 auto;
    display: flex;
}

.bar>div {
    width: 238px;
    background-color: #ef1f1f;
    color: white;
    padding: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    text-indent: 2rem;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    box-sizing: border-box;
}

.bar>ul {
    padding: 0 20px;
    flex: 1;
    display: flex;
    align-items: center;
}

.bar>ul>li {
    padding: 0 20px;
}

.bar>ul>li>a {
    color: black;
    font-weight: 700;
}

section {
    background-color: rgb(226, 226, 226);
    /* height: 2000px; */
}

.nav-wrap {
    height: 428px;
    width: 1200px;
    margin: 0 auto;
    display: flex;
}

.nav-left {
    display: flex;
    flex-direction: column;
    width: 238px;
    padding: 5px 0;
    background-color: #fff;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    height: 428px;
    box-sizing: border-box;
    position: relative;
}

.nav-left>li {
    text-align: center;
    line-height: 40px;
    height: 40px;
    font-weight: 700;
    cursor: pointer;
}
.nav-left>li:hover .sub-panel{
    display: flex;
}
.nav-left>li>span {
    color: black;
    margin: 0 10px;
}
.nav-left>li:hover{
    background-color: rgb(221, 221, 221);
}
.sub-panel{
    position: absolute;
    top: 0;
    left: 100%;
    width: 708px;
    height: 428px;
    border: #ef1f1f 2px solid;
    background-color: #fff;
    z-index: 100;
    box-sizing: border-box;
    display: none;
    flex-wrap: wrap;
    overflow: auto;
    padding: 20px;
}
/* .nav-left>li:first-child .sub-panel{
    display: flex!important;
} */
.sub-panel>div{
    width: 50%;
    /* padding: 10px; */
}
.sub-panel>div>h3{
    text-align: left;
    font-size: 16px;
}
.sub-panel>div>span{
    float: left;
    margin-right: 1em;
    font-size: 12px;
    font-weight: normal;
    color: #333;
    cursor: pointer;
}
.sub-panel>div>span:hover{
    color: #ef1f1f;
}
.nav-middle {
    width: 680px;
    margin: 14px;
}

/* banner */
.banner {
    width: 100%;
    height: 300px;
    border-radius: 5px;
    overflow: hidden;
    background-color: #fff;
    position: relative;
    margin-bottom: 14px;
}

.wrap {
    width: 1005%;
    position: absolute;
    left: 0px;
    top: 0;
    transition: 0.2s ease;
}

.banner span {
    display: block;
    float: left;
}

.banner img {
    width: 680px;
    vertical-align: top;
}

.arrow {
    position: absolute;
    width: 100%;
    height: 100%;
}

.arrow>span {
    cursor: pointer;
    position: absolute;
    top: 50%;
    text-align: center;
    height: 50px;
    width: 40px;
    background-color: rgba(0, 0, 0, 0.192);
    line-height: 50px;
    font-size: 22px;
    margin-top: -25px;
    border-radius: 2px;
    color: white;
    user-select: none;
}

.left {
    left: 10px;
}

.right {
    right: 10px;
}

.swiper {
    height: 32px;
    position: absolute;
    bottom: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: center;
}

/* 导标 */
.swiper>span {
    width: 32px;
    height: 2px;
    background-color: rgba(177, 177, 177, 0.479);
    margin: 0 6px;
    cursor: pointer;
}

.swiper>.on {
    background-color: rgb(255, 255, 255);
}

/* 小横幅 */
.small-banner {
    display: flex;
    height: 100px;
    justify-content: space-between;
}

.small-banner img {
    height: 100%;
    border-radius: 5px;
}
/* dashboard */
.dashboard{
    margin-top: 14px;
    height: 414px;
    background-color: #fff;
    border-radius: 5px;
    flex: 1;
    box-sizing: border-box;
    padding: 16px;
    font-size: 12px;
}
.dashboard-top{
    margin-bottom: 14px;
}
.avatar{
    display: flex;
    margin-bottom: 14px;
}
.avatar>span.user-pic{
    width: 48px;
    height: 48px;
    border-radius: 50%;
    margin-right: 14px;
    background-color: rgb(119, 119, 119);
    overflow: hidden;
}
span.user-pic>img{
    width: 100%;
}
.avatar>div>p{
    line-height: 2;
}
.avatar>div>p:nth-child(2){
    color: #fa6600;
    background-color: rgba(250,102,0,.05);
    border-radius: 10px;
    width: fit-content;
    padding: 0 14px 0 28px;
}
.dashboard-top>button{
    width: 100%;
    line-height: 32px;
    border-radius: 5px;
    background-color: #ef1f1f;
    color: white;
    border: none;
    cursor: pointer;
}
.dashboard>ul{
    display: flex;
    flex-wrap: wrap;
}
.dashboard>ul>li{
    width: 50%;
    text-align: center;
    margin-bottom: 14px;
}
.dashboard>ul>li span{
    display: block;
    width: 36px;
    height: 36px;
    margin: 0 auto 8px;
}
.dashboard>ul>li:nth-child(1) span{
    background: url("../images/ico01.png");
    background-position: center center;
    background-size: contain;
}
.dashboard>ul>li:nth-child(2) span{
    background: url("../images/ico02.png");
    background-position: center center;
    background-size: contain;
}
.dashboard>ul>li:nth-child(3) span{
    background: url("../images/ico03.png");
    background-position: center center;
    background-size: contain;
}
.dashboard>ul>li:nth-child(4) span{
    background: url("../images/ico04.png");
    background-position: center center;
    background-size: contain;
}

.tabs{
    /* tabs */
    display: flex;
}
.tabs>li{
    cursor: pointer;
    height: 20px;
    margin-right: 1rem;
}
.tabs>.on{
    box-shadow: 0 -1px 0px #ef1f1f inset;
    color: #ef1f1f;
}
.items>div{
    margin-top: 2px;
    display: none;
}
.items>.active{
    display: block;
}
.items>.active>a{
    display: block;
    line-height: 2;
    color: black;
}
/* product */
.prod-wrap,.recom-wrap{
    margin-top: 16px;
    padding: 24px;
    background-color: #fff;
    width: 1200px;
    box-sizing: border-box;
    border-radius: 5px;
    margin: 16px auto 0;
}
.title{
    margin-bottom: 24px;
}
.title>em{
    font-size: 14px;
    font-weight: normal;
    color: #aaaaaa;
    margin-left: 1em;
}
.title>a{
    float: right;
    font-size: 14px;
    font-weight: normal;
}
.prod-wrap ul{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}
.prod{
    width: 180px;
    cursor: pointer;
    margin: 10px;
}
.prod img{
    width: 180px;
    height: 180px;
    vertical-align: top;
}
.prod-wrap figcaption{
    font-size: 14px;
    margin: 5px 0;
    overflow:hidden;
    text-overflow:ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp:1;
}

.prod .price>*{
    border: 1px solid #ef1f1f;
    float: left;
    box-sizing: border-box;
    line-height: 1.5;
}
.prod .price>p{
    background-color: #ef1f1f;
    color: white;
    width: 50%;
    text-align: center;
}
.prod .price>span{
    width: 50%;
    text-align: center;
    color: #ef1f1f;
}
/* recom */
.recom-wrap>ul{
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    width: 100%;
}
.recom{
    font-size: 12px;
    width: 20%;
    height: 350px;
    transition: 0.2s;
    box-sizing: border-box;
    margin-bottom: 16px;
}
.recom>a{
    border: rgb(226, 226, 226) 1px solid;
    display: block;
    width: 214px;
    margin: 0 auto;
    height: 100%;
}
.recom img{
    width: 100%;
    min-height: 214px;
    vertical-align: top;
}
.recom figure{
    position: relative;
}
.recom figure>span{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 3;
    text-align: center;
    background-color: #ef1f1fc0;
    color: white;
    transition: 0.2s;
    opacity: 0;
}
.recom:hover a{
    border: #ef1f1f 1px solid;
}
.recom:hover figure>span{
    opacity: 1;
}
.recom .desc{
    padding: 6px;
}
.recom .desc-price{
    color: #ef1f1f;
    font-size: 20px;
    line-height: 30px;
    font-weight: 700;
}
.recom .desc-address{
    color: #aaa;
    float: right;
    line-height: 30px;
}
.recom .desc-name{
    color: black;
    line-height: 1.5;
}
.tags{
    margin: 4px 0;
}
.tags .verify_cpa_1,
.tags .verify_sm_1,
.tags .verify_sm_2{
    font-size: 12px;
    display: inline-block;
    color:#e88f09;
    border: 1px solid rgba(232,143,9,.3);
    padding: 1px 2px;
    line-height: 1;
    border-radius: 2px;
    font-weight: 400;
    margin-right: 5px;
}
.tags .tag{
    font-size: 12px;
    display: inline-block;
    margin-right: 5px;
    line-height: 1;
    font-weight: 400;
    color: #999;
}
.recom .desc-bottom span{
    line-height: 2;
    color: black;
}
/* 电梯导航 */
ul.floor-list{
    position: fixed;
    left:0;
    top:200px;
    background: #ef1f1f;
    color: white;
    color: #ef1f1f;
    background: white;
}
ul.floor-list>li{
    cursor: pointer;
    width: 100px;
    line-height: 40px;
    text-align: center;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}
ul.floor-list>li:hover{
    background: #ef1f1f;
    color: white;
}